package com.ml.mall.bean.req.tax;

import com.ml.mall.bean.base.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "分页查询税率信息")
public class TaxQueryPageDto extends PageDto {

    @ApiModelProperty(value = "税名")
    @NotBlank(message = "税名不能为空")
    private String taxName;

    @ApiModelProperty(value = "状态， 0：禁用 ， 1：正常")
    @NotNull(message = "状态不能为空")
    private Integer state;
}
